import { createApp } from 'vue'

import pinia from './stores/index'
import App from './App.vue'
import router from './router'
import '@/style/base.scss'
//在Vue3 CompositionAPI中
//1.获取路由对象router=useRouter
//const router useRouter()
//2.获取路由参数route  useRoute
// const route=useRoute()

const app = createApp(App)

app.use(pinia)
app.use(router)

app.mount('#app')
